package com.esri.core.tasks.na;

/* loaded from: classes.dex */
public enum DirectionsLengthUnit {
    FEET("esriNAUFeet"),
    KILOMETERS("esriNAUKilometers"),
    METERS("esriNAUMeters"),
    MILES("esriNAUMiles");
    
    String mType;

    DirectionsLengthUnit(String str) {
        this.mType = str;
    }

    @Override // java.lang.Enum
    public String toString() {
        return this.mType;
    }

    public static DirectionsLengthUnit get(String str) {
        DirectionsLengthUnit[] values;
        for (DirectionsLengthUnit directionsLengthUnit : values()) {
            if (directionsLengthUnit.mType.equals(str)) {
                return directionsLengthUnit;
            }
        }
        return null;
    }
}
